package chat.whiteboard.components;

import java.awt.event.ActionListener;

import javax.swing.JTextField;

import chat.whiteboard.WhiteBoardController;


public class ChatInputTextField extends JTextField implements ICommand {
	private WhiteBoardController controller;
	public ChatInputTextField(ActionListener act, WhiteBoardController controller) {
		this.controller = controller;
		addActionListener(act);
		controller.registerTextFieldChatInput(this);
	}
	@Override
	public void execute() {
		// TODO Auto-generated method stub

	}

}
